Skip to main content
Version: Upcoming

SRExchRiskDrop

V8 Message Definiton

METADATA

AttributeValue
Topic1450-away-drop
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
exchDropNumberBIGINTPRI0SR Unique ID
routingCodeTINYTEXT''drop session routing code
routingSeqNumINT0drop session routingSeqNum
routeRiskGroupVARCHAR(32)''unique code grouping this drop session with 1 or more outbound street sessions
secKey_atenum - AssetType'None'
secKey_tsenum - TickerSrc'None'
secKey_tkVARCHAR(12)''
secKey_yrSMALLINT UNSIGNED0
secKey_mnTINYINT UNSIGNED0
secKey_dyTINYINT UNSIGNED0
secKey_xxDOUBLE0
secKey_cpenum - CallPut'Call'
secTypeenum - SpdrKeyType'None'
accountTINYTEXT''FixTag1
dropData1TINYTEXT''
dropData2TINYTEXT''
clOrdIdVARCHAR(32)''child order clOrdId
fillVersionTINYINT UNSIGNED0cancelcorrect version number initial fill is version1
fillExecStatusenum - ExecStatus'None'SpiderRock execution status FillBustCorrectRejectSysRej
fillDttmDATETIME(6)'1900-01-01 00:00:00.000000'fill DateTime from SRDateTime
fillQuantityINT0fill size from execReportlastSize
fillSideenum - BuySell'None'fill side from execReportside
fillPriceDOUBLE0fill price from execReportlastPrice
fillTransactDttmDATETIME(6)'1900-01-01 00:00:00.000000'fill DateTime from execReportfillDttm
fillMarketVARCHAR(8)''fill market from execReportlastMarket
fillExecIdTINYTEXT''fill execution id from execReportexecId
fillRefExecIdTINYTEXT''fill ref execution id from execReportrefExecId only set on a cancel or correct
fillLegRefIdBIGINT0fill leg ref id from execReportlegRefId
fillStreetTextTINYTEXT''
netTimestampBIGINT0drop gateway arrival timestamp
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
exchDropNumber1

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRTrade`.`MsgSRExchRiskDrop` (
`exchDropNumber` BIGINT NOT NULL DEFAULT 0 COMMENT 'SR Unique ID',
`routingCode` TINYTEXT NOT NULL DEFAULT '' COMMENT 'drop session routing code',
`routingSeqNum` INT NOT NULL DEFAULT 0 COMMENT 'drop session routingSeqNum',
`routeRiskGroup` VARCHAR(32) NOT NULL DEFAULT '' COMMENT 'unique code grouping this drop session with 1 or more outbound street sessions',
`secKey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`secKey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`secKey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`secKey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`secKey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`secKey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`secKey_xx` DOUBLE NOT NULL DEFAULT 0,
`secKey_cp` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call',
`secType` ENUM('None','Stock','Future','Option','MLeg') NOT NULL DEFAULT 'None',
`account` TINYTEXT NOT NULL DEFAULT '' COMMENT 'FixTag.1',
`dropData1` TINYTEXT NOT NULL DEFAULT '',
`dropData2` TINYTEXT NOT NULL DEFAULT '',
`clOrdId` VARCHAR(32) NOT NULL DEFAULT '' COMMENT 'child order clOrdId',
`fillVersion` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'cancel/correct version number (initial fill is version=1)',
`fillExecStatus` ENUM('None','Fill','Bust','Correct','Reject','SysRej') NOT NULL DEFAULT 'None' COMMENT 'SpiderRock execution status (Fill,Bust,Correct,Reject,SysRej)',
`fillDttm` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000' COMMENT 'fill DateTime (from SRDateTime)',
`fillQuantity` INT NOT NULL DEFAULT 0 COMMENT 'fill size (from execReport.lastSize)',
`fillSide` ENUM('None','Buy','Sell') NOT NULL DEFAULT 'None' COMMENT 'fill side (from execReport.side)',
`fillPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'fill price (from execReport.lastPrice)',
`fillTransactDttm` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000' COMMENT 'fill DateTime (from execReport.fillDttm)',
`fillMarket` VARCHAR(8) NOT NULL DEFAULT '' COMMENT 'fill market (from execReport.lastMarket)',
`fillExecId` TINYTEXT NOT NULL DEFAULT '' COMMENT 'fill execution id (from execReport.execId)',
`fillRefExecId` TINYTEXT NOT NULL DEFAULT '' COMMENT 'fill ref execution id (from execReport.refExecId) [only set on a cancel or correct]',
`fillLegRefId` BIGINT NOT NULL DEFAULT 0 COMMENT 'fill leg ref id (from execReport.legRefId)',
`fillStreetText` TINYTEXT NOT NULL DEFAULT '',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'drop gateway arrival timestamp',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`exchDropNumber`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`exchDropNumber`,
`routingCode`,
`routingSeqNum`,
`routeRiskGroup`,
`secKey_at`,
`secKey_ts`,
`secKey_tk`,
`secKey_yr`,
`secKey_mn`,
`secKey_dy`,
`secKey_xx`,
`secKey_cp`,
`secType`,
`account`,
`dropData1`,
`dropData2`,
`clOrdId`,
`fillVersion`,
`fillExecStatus`,
`fillDttm`,
`fillQuantity`,
`fillSide`,
`fillPrice`,
`fillTransactDttm`,
`fillMarket`,
`fillExecId`,
`fillRefExecId`,
`fillLegRefId`,
`fillStreetText`,
`netTimestamp`,
`timestamp`
FROM `SRTrade`.`MsgSRExchRiskDrop`
WHERE
/* Replace with a BIGINT */
`exchDropNumber` = 1234567890;

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRExchRiskDrop' ORDER BY ordinal_position ASC;